package com.example.designmode.builder;

//具体的产物 根据创建者模式生产的
public class Person {

    private String head;
    private String body;
    private String hands;
    private String foots;

    public String getHead() {
        return head;
    }

    public void setHead(String head) {
        this.head = head;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getHands() {
        return hands;
    }

    public void setHands(String hands) {
        this.hands = hands;
    }

    public String getFoots() {
        return foots;
    }

    public void setFoots(String foots) {
        this.foots = foots;
    }

    @Override
    public String toString() {
        return "person{" +
                "head='" + head + '\'' +
                ", body='" + body + '\'' +
                ", hands='" + hands + '\'' +
                ", foots='" + foots + '\'' +
                '}';
    }
}
